import request from '@/utils/request'

// 查询会议订单列表
export function listMeetingorder(query) {
  return request({
    url: '/jypc/meetingorder/list',
    method: 'get',
    params: query
  })
}

// 查询会议订单详细
export function getMeetingorder(orderid) {
  return request({
    url: '/jypc/meetingorder/' + orderid,
    method: 'get'
  })
}

// 新增会议订单
export function addMeetingorder(data) {
  return request({
    url: '/jypc/meetingorder',
    method: 'post',
    data: data
  })
}

// 修改会议订单
export function updateMeetingorder(data) {
  return request({
    url: '/jypc/meetingorder',
    method: 'put',
    data: data
  })
}

// 删除会议订单
export function delMeetingorder(orderid) {
  return request({
    url: '/jypc/meetingorder/' + orderid,
    method: 'delete'
  })
}
